<?php /* Smarty version 2.6.26, created on 2015-08-01 13:50:24
         compiled from search.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'search.html', 31, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<link rel="stylesheet" href="./Public/Home/Css/index.css" />
</head>
<body>
	<!-- 搜索顶部 -->
	<div class="search_top">
		<div class="sealeft">
			<a href=""><img src="./Public/Home/images/t0150f9b7bd1b41d84e.png" alt="" /></a>
			<a href="http://www.houdunwang.com">后盾顶尖PHP培训</a>
			<a href="http://www.houdunwang.com">后盾网</a>
		</div>

	</div>
	<!-- 搜索顶部结束 -->
	<!-- 搜索框 -->
	<div class="search_box">
		<form action="./index.php?c=search" method='post'>
		<input type="text" name="searcon" class="searchInput"/>
		<input type="submit" value="搜索答案" class="sub"/>
		</form>
		<a href="./index.php?c=ask">我要提问</a>
	</div>
	<!-- 搜索框结束 -->
	<!-- 搜索内容 -->
	<div class="searcont">
	<?php if ($this->_tpl_vars['searchArr']): ?>
		<?php $_from = $this->_tpl_vars['searchArr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
		<ul>
			<li> <a href="./index.php?c=show&asid=<?php echo $this->_tpl_vars['v']['asid']; ?>
" class="title"><?php echo $this->_tpl_vars['v']['acontent']; ?>
</a> </li>
			<li><?php echo $this->_tpl_vars['v']['ancontent']; ?>
</li>
			<li class="time"><span><?php echo $this->_tpl_vars['v']['title']; ?>
 - <?php echo $this->_tpl_vars['v']['aanswer']; ?>
个回答</span> - 提问时间: <?php echo ((is_array($_tmp=$this->_tpl_vars['v']['atime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M")); ?>
</li>
		</ul>
		<?php endforeach; endif; unset($_from); ?>
	<?php endif; ?>

	</div>
	<!-- 搜索内容结束 -->

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>